/**
 * 弹窗的表头
 * @param
 * field:表字段名, fieldtitle:表字段值, width:筛选框宽度, type:筛选框类型
 * type: 'text'||'time'||'number'||'radio'||''
 *
 * text | 单个input筛选
 * time | 时间区间筛选
 * number | 数值区间筛选
 * radio | 单选框
 * '' | 没有筛选条件的
 *
 * @example;
 */
// [{
// field: 'resume_name',
// fieldtitle: '候选者姓名',
// width: '150px',
// type: 'text'
// }]

export default `{{~it:v:i}}
{{? v.type === "checkbox"}}
<span class="display-ib vertical-a-t p5 b-box border-r-1 text-c" style="width:{{=v.width}};">
	<input data-feidao-id="checkall" data-feidao-actions="click:eu-023" type="checkbox" class="cursor-p" />
</span>
{{?? v.type === "text"}}
<span class="display-ib vertical-a-t p5 b-box border-r-1 text-c cursor-p pos-r"
	style="width:{{=v.width}};">{{=v.fieldtitle}}<i class="iconfont icon-xiangyou pos-a display-ib pos-r0 font14"
		style="width:20px;"></i>
	<div style="width:160px;color:black;top:30px;padding:10px;z-index:100;"
		class="bg-f4 dropdown {{?v.last=='last'}}pos-r0{{?}} pos-a border-1 radius-4 text-l">
		<div class="dropdown_triangle" style="{{?v.last=='last'}}right:30px;{{??}}left:30px;{{?}}"></div>
		<ul class="border-b-1">
			<li class="text-l l-ht30" data-feidao-actions="click:eu-017" data-feidao-id="{{=v.field}}"
				data-feidao-sort="1">
				<i class="iconfont icon-asc vertical-a-t font20" style="padding-right:5px;"></i>升序A-Z
			</li>
			<li class="text-l l-ht30" data-feidao-actions="click:eu-017" data-feidao-id="{{=v.field}}"
				data-feidao-sort="-1">
				<i class="iconfont icon-desc vertical-a-t font20" style="padding-right:5px;"></i>降序Z-A
			</li>
		</ul>
		<div class="l-ht28">内容搜索：</div>
		<input data-feidao-id="input_{{=v.field}}" type="text" placeholder="请输入关键字"
			class="border-1 radius-4 ht30 l-ht30" style="width:160px;padding:0 5px;">
		<div style="margin-top:5px;">
			<input data-feidao-actions="click:eu-018" data-feidao-id="{{=v.field}}" type="button" value="确定"
				class="bg-themef ht30 cursor-p radius-4 font14 border-1" style="padding:0 20px;" /><input   data-feidao-actions="click:eu-019" data-feidao-id="{{=v.field}}" type="button" value="取消" class="cbtn"
				style="padding:0 20px;margin-left:10px;" />
		</div>
	</div>
</span>
{{?? v.type === "date"}}
<span class="display-ib vertical-a-t p5 b-box border-r-1 text-c cursor-p pos-r"
	style="width:{{=v.width}};">{{=v.fieldtitle}}<i class="iconfont icon-xiangyou pos-a display-ib pos-r0 font14"
		style="width:20px;"></i>
	<div style="width:280px">
		<div class="dropdown {{?v.last=='last'}}pos-r0{{?}} pos-a bg-f4 p10 w200 border-1 radius-4 text-l zindex5"
			style="width:160px;color:black;top:30px;padding:10px;">
			<div class="dropdown_triangle" style="{{?v.last=='last'}}right:70px;{{??}}left:70px;{{?}}"></div>
			<ul class="border-b-1">
				<li class="text-l l-ht30" data-feidao-actions="click:eu-017" data-feidao-id="{{=v.field}}"
					data-feidao-sort="1">
					<i class="iconfont icon-asc  vertical-a-t color-6 font20"></i>升序A-Z
				</li>
				<li class="text-l l-ht30" data-feidao-actions="click:eu-017" data-feidao-id="{{=v.field}}"
					data-feidao-sort="-1">
					<i class="iconfont icon-desc  vertical-a-t color-6 font20"></i>降序Z-A
				</li>
			</ul>
			<div class=" l-ht30">
				<div class="l-ht28">开始时间：</div>
				<input data-feidao-id="begin_{{=v.field}}" type="date" style="width:150px;" max="9999-12-31">
			</div>
			<div class=" l-ht30">
				<div class="l-ht28">结束时间：</div>
				<input data-feidao-id="end_{{=v.field}}" type="date" style="width:150px;" max="9999-12-31">

			</div>
			<div style="margin-top:5px;">
				<input data-feidao-actions="click:eu-024" data-feidao-id="{{=v.field}}" type="button" value="确定"
					class="bg-themef ht30 cursor-p radius-4 font12 border-1" style="width:60px;" /><input   data-feidao-actions="click:eu-019" data-feidao-id="{{=v.field}}" type="button" value="取消"
					class="cbtn" style="width:60px;margin-left:10px;" />
			</div>
		</div>
	</div>
</span>
{{?? v.type === "radio"}}
<span class="display-ib vertical-a-t p5 b-box border-r-1 text-c cursor-p pos-r"
	style="width:{{=v.width}};">{{=v.fieldtitle}}<i class="iconfont icon-xiangyou pos-a display-ib pos-r0 font14"
		style="width:20px;"></i>
	<div style="width:160px;color:black;top:30px;padding:10px;z-index:100;"
		class="bg-f4 dropdown {{?v.last=='last'}}pos-r0{{?}} pos-a border-1 radius-4 text-l">
		<div class="dropdown_triangle" style="{{?v.last=='last'}}right:30px;{{??}}left:30px;{{?}}"></div>
		<ul class="border-b-1">
			<li class="text-l l-ht30" data-feidao-actions="click:eu-017" data-feidao-id="{{=v.field}}"
				data-feidao-sort="1">
				<i class="iconfont icon-asc vertical-a-t font20" style="padding-right:5px;"></i>升序A-Z
			</li>
			<li class="text-l l-ht30" data-feidao-actions="click:eu-017" data-feidao-id="{{=v.field}}"
				data-feidao-sort="-1">
				<i class="iconfont icon-desc vertical-a-t font20" style="padding-right:5px;"></i>降序Z-A
			</li>
		</ul>
		<div class="ht30 l-ht30">{{=v.fieldtitle}} :</div>
		<div data-feidao-id="{{=v.field}}">
			{{~v.radio:v1}}
			<div>
				<input type="radio" name="{{=v.field}}" value="{{=v1.value}}" style="width:20px;">
				<span for="yes">{{=v1.key}}</span>
			</div>
			{{~}}
		</div>
		<div style="margin-top:5px;">
			<input data-feidao-actions="click:eu-021" data-feidao-id="{{=v.field}}" type="button" value="确定"
				class="bg-themef ht30 cursor-p radius-4 font14 border-1" style="padding:0 20px;" /><input    data-feidao-actions="click:eu-019" data-feidao-id="{{=v.field}}" type="button" value="取消" class="cbtn"
				style="padding:0 20px;margin-left:10px;" />
		</div>
	</div>
</span>
{{?? v.type === "none"}}
<span class="display-ib vertical-a-t p5 b-box border-r-1 text-c" style="width:{{=v.width}};">{{=v.fieldtitle}}</span>
{{??}}
<span class="display-ib vertical-a-t p5 b-box border-r-1 text-c cursor-p pos-r"
	style="width:{{=v.width}};">{{=v.fieldtitle}}<i class="iconfont icon-xiangyou pos-a display-ib pos-r0 font14"
		style="width:20px;"></i>
	<div style="width:160px;color:black;top:30px;padding:10px;z-index:100;"
		class="bg-f4 dropdown {{?v.last=='last'}}pos-r0{{?}} pos-a border-1 radius-4 text-l">
		<div class="dropdown_triangle" style="{{?v.last=='last'}}right:70px;{{??}}left:70px;{{?}}"></div>
		<ul>
			<li class="text-l l-ht30" data-feidao-actions="click:eu-017" data-feidao-id="{{=v.field}}"
				data-feidao-sort="1">
				<i class="iconfont icon-asc vertical-a-t font20" style="padding-right:5px;"></i>升序A-Z
			</li>
			<li class="text-l l-ht30" data-feidao-actions="click:eu-017" data-feidao-id="{{=v.field}}"
				data-feidao-sort="-1">
				<i class="iconfont icon-desc vertical-a-t font20" style="padding-right:5px;"></i>降序Z-A
			</li>
		</ul>
	</div>
</span>
{{?}}
{{~}}`;
